package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TOrderGeofenceMapper;
import com.ruoyi.system.domain.TOrderGeofence;
import com.ruoyi.system.service.ITOrderGeofenceService;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2025-03-19
 */
@Service
public class TOrderGeofenceServiceImpl implements ITOrderGeofenceService
{
    @Autowired
    private TOrderGeofenceMapper tOrderGeofenceMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param orderId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public TOrderGeofence selectTOrderGeofenceByOrderId(Long orderId)
    {
        return tOrderGeofenceMapper.selectTOrderGeofenceByOrderId(orderId);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param tOrderGeofence 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TOrderGeofence> selectTOrderGeofenceList(TOrderGeofence tOrderGeofence)
    {
        return tOrderGeofenceMapper.selectTOrderGeofenceList(tOrderGeofence);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param tOrderGeofence 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertTOrderGeofence(TOrderGeofence tOrderGeofence)
    {
        return tOrderGeofenceMapper.insertTOrderGeofence(tOrderGeofence);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param tOrderGeofence 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateTOrderGeofence(TOrderGeofence tOrderGeofence)
    {
        return tOrderGeofenceMapper.updateTOrderGeofence(tOrderGeofence);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param orderIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTOrderGeofenceByOrderIds(Long[] orderIds)
    {
        return tOrderGeofenceMapper.deleteTOrderGeofenceByOrderIds(orderIds);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param orderId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTOrderGeofenceByOrderId(Long orderId)
    {
        return tOrderGeofenceMapper.deleteTOrderGeofenceByOrderId(orderId);
    }
}
